import type { BulletLegendItemInterface } from '@unovis/ts'

export type Category = BulletLegendItemInterface & {
  id: number;
}

export type DataRecord = {
  year: number;
  art: number[];
}

export const categories: Category[] = [
  { id: 0, name: 'Drawings & Prints' },
  { id: 1, name: 'Painting & Sculpture' },
  { id: 2, name: 'Photography' },
  { id: 3, name: 'Architecture & Design' },
  { id: 4, name: 'Film' },
  { id: 5, name: 'Media and Performance' },
]

export const data = [
  {
    year: 1929,
    art: [9, 0, 0, 0, 0, 0],
  }, {
    year: 1930,
    art: [3, 4, 0, 0, 0, 0],
  }, {
    year: 1931,
    art: [1, 2, 0, 0, 0, 0],
  }, {
    year: 1932,
    art: [14, 1, 1, 2, 0, 0],
  }, {
    year: 1933,
    art: [
      2, 0, 91, 0, 0, 0],
  }, {
    year: 1934,
    art: [186, 19, 2, 49, 0, 0],
  }, {
    year: 1935,
    art: [
      349, 19, 24, 23, 0, 0],
  }, {
    year: 1936,
    art: [
      33, 23, 0, 91, 0, 0],
  }, {
    year: 1937,
    art: [
      34, 34, 57, 198, 0, 0],
  }, {
    year: 1938,
    art: [
      9, 12, 84, 18, 1, 0],
  }, {
    year: 1939,
    art: [
      160, 47, 51, 139, 2, 0],
  }, {
    year: 1940,
    art: [
      1306, 17, 125, 73, 3, 0],
  }, {
    year: 1941,
    art: [
      270, 45, 651, 10, 0, 0],
  }, {
    year: 1942,
    art: [
      559, 75, 218, 81, 0, 0],
  }, {
    year: 1943,
    art: [
      118, 34, 128, 851, 0, 0],
  }, {
    year: 1944,
    art: [
      147, 19, 113, 66, 0, 0],
  }, {
    year: 1945,
    art: [
      165, 18, 0, 107, 0, 0],
  }, {
    year: 1946,
    art: [
      97, 8, 32, 34, 0, 0],
  }, {
    year: 1947,
    art: [
      318, 17, 36, 77, 0, 0],
  }, {
    year: 1948,
    art: [
      265, 21, 1, 134, 0, 0],
  }, {
    year: 1949,
    art: [
      1517, 36, 0, 29, 0, 0],
  }, {
    year: 1950,
    art: [
      232, 30, 92, 99, 0, 0],
  }, {
    year: 1951,
    art: [
      441, 36, 0, 154, 0, 0],
  }, {
    year: 1952,
    art: [
      435, 32, 16, 65, 0, 0],
  }, {
    year: 1953,
    art: [
      246, 42, 51, 135, 0, 0],
  }, {
    year: 1954,
    art: [
      680, 36, 43, 122, 0, 0],
  }, {
    year: 1955,
    art: [
      338, 52, 4, 49, 0, 0],
  }, {
    year: 1956,
    art: [
      787, 61, 65, 214, 0, 0],
  }, {
    year: 1957,
    art: [
      142, 26, 26, 111, 0, 0],
  }, {
    year: 1958,
    art: [
      465, 48, 0, 190, 0, 0],
  }, {
    year: 1959,
    art: [
      308, 57, 450, 16, 0, 0],
  }, {
    year: 1960,
    art: [
      180, 52, 104, 114, 0, 0],
  }, {
    year: 1961,
    art: [
      257, 76, 160, 60, 0, 0],
  }, {
    year: 1962,
    art: [
      343, 33, 155, 34, 0, 0],
  }, {
    year: 1963,
    art: [
      606, 49, 127, 169, 0, 0],
  }, {
    year: 1964,
    art: [
      12101, 61, 575, 91, 0, 0],
  }, {
    year: 1965,
    art: [
      1493, 67, 352, 106, 0, 0],
  }, {
    year: 1966,
    art: [
      1481, 52, 169, 149, 0, 0],
  }, {
    year: 1967,
    art: [
      1775, 99, 337, 200, 0, 0],
  }, {
    year: 1968,
    art: [
      1169, 41, 5479, 205, 0, 0],
  }, {
    year: 1969,
    art: [
      1747, 70, 304, 73, 0, 0],
  }, {
    year: 1970,
    art: [
      729, 67, 267, 171, 0, 0],
  }, {
    year: 1971,
    art: [
      486, 47, 505, 3, 0, 0],
  }, {
    year: 1972,
    art: [
      498, 11, 282, 71, 0, 0],
  }, {
    year: 1973,
    art: [
      764, 29, 261, 35, 0, 0],
  }, {
    year: 1974,
    art: [
      1955, 24, 580, 812, 0, 0],
  }, {
    year: 1975,
    art: [
      597, 40, 298, 20, 0, 26],
  }, {
    year: 1976,
    art: [
      401, 33, 359, 101, 0, 8],
  }, {
    year: 1977,
    art: [
      713, 23, 297, 175, 0, 0],
  }, {
    year: 1978,
    art: [
      1013, 37, 238, 60, 0, 0],
  }, {
    year: 1979,
    art: [
      700, 96, 263, 68, 1, 32],
  }, {
    year: 1980,
    art: [
      303, 24, 194, 136, 0, 15],
  }, {
    year: 1981,
    art: [
      430, 26, 700, 168, 0, 23],
  }, {
    year: 1982,
    art: [
      407, 27, 301, 96, 0, 20],
  }, {
    year: 1983,
    art: [
      490, 48, 414, 227, 1, 14],
  }, {
    year: 1984,
    art: [
      388, 29, 288, 103, 0, 62],
  }, {
    year: 1985,
    art: [
      637, 112, 170, 112, 0, 14],
  }, {
    year: 1986,
    art: [
      552, 30, 309, 71, 0, 62],
  }, {
    year: 1987,
    art: [
      783, 24, 295, 198, 0, 17],
  }, {
    year: 1988,
    art: [
      716, 16, 176, 75, 0, 36],
  }, {
    year: 1989,
    art: [
      443, 14, 391, 28, 4, 10],
  }, {
    year: 1990,
    art: [
      796, 43, 253, 158, 0, 18],
  }, {
    year: 1991,
    art: [
      502, 86, 193, 29, 0, 12],
  }, {
    year: 1992,
    art: [
      743, 45, 323, 65, 0, 18],
  }, {
    year: 1993,
    art: [
      839, 16, 242, 109, 0, 37],
  }, {
    year: 1994,
    art: [
      345, 75, 335, 120, 0, 69],
  }, {
    year: 1995,
    art: [
      231, 26, 573, 132, 0, 6],
  }, {
    year: 1996,
    art: [
      494, 77, 196, 205, 0, 0],
  }, {
    year: 1997,
    art: [
      561, 40, 180, 98, 0, 71],
  }, {
    year: 1998,
    art: [
      482, 47, 576, 131, 1, 41],
  }, {
    year: 1999,
    art: [
      684, 34, 164, 768, 4, 153],
  }, {
    year: 2000,
    art: [
      400, 43, 904, 433, 0, 106],
  }, {
    year: 2001,
    art: [
      2859, 28, 1008, 265, 0, 10],
  }, {
    year: 2002,
    art: [
      443, 34, 110, 39, 2, 7],
  }, {
    year: 2003,
    art: [
      243, 14, 126, 125, 0, 39],
  }, {
    year: 2004,
    art: [
      434, 47, 137, 107, 2, 36],
  }, {
    year: 2005,
    art: [
      3306, 151, 343, 104, 95, 68],
  }, {
    year: 2006,
    art: [
      975, 33, 336, 300, 0, 21],
  }, {
    year: 2007,
    art: [
      1207, 41, 437, 227, 8, 428],
  }, {
    year: 2008,
    art: [
      4580, 46, 267, 220, 9, 257],
  }, {
    year: 2009,
    art: [
      863, 32, 387, 193, 0, 55],
  }, {
    year: 2010,
    art: [
      1101, 135, 662, 145, 0, 3],
  }, {
    year: 2011,
    art: [
      960, 90, 374, 313, 1, 178],
  }, {
    year: 2012,
    art: [
      1605, 46, 352, 738, 51, 140],
  }, {
    year: 2013,
    art: [
      1430, 68, 1327, 165, 41, 78],
  }, {
    year: 2014,
    art: [
      1017, 42, 810, 840, 6, 65],
  }, {
    year: 2015,
    art: [
      1142, 54, 991, 1388, 1, 240],
  }, {
    year: 2016,
    art: [
      525, 120, 603, 503, 9, 62],
  }, {
    year: 2017,
    art: [
      360, 49, 952, 101, 15, 94],
  }, {
    year: 2018,
    art: [
      844, 42, 639, 857, 6, 76],
  }, {
    year: 2019,
    art: [
      595, 36, 1230, 285, 0, 138],
  }, {
    year: 2020,
    art: [
      358, 18, 177, 195, 0, 21],
  }, {
    year: 2021,
    art: [
      210, 49, 505, 118, 0, 35],
  }, {
    year: 2022,
    art: [
      145, 43, 189, 2, 0, 25],
  }]
